package com.service;

import com.pojo.Room;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by Administrator on 2017/3/27.
 */
@Service
public interface RoomService {
    boolean addRoom(Room room);

    boolean delRoomById(Integer roomId);

    boolean updateRoom(Room room);

    Room findRoomById(Integer id);

    List<Room> findAllRoom();

}
